package com.insideClass.AnonymityInsideClass;

import java.util.Arrays;
import java.util.List;

/**
 * @author 13699
 */
public class CompilerIntelligence {
    public static void main(String[] args) {
        List<? extends Fruit> flist= Arrays.asList(new Apple());
        Apple a= (Apple) flist.get(0);
        flist.contains(new Apple());
        flist.indexOf(new Apple());
    }
}
